package lhdx8;

public class Pengguin extends Pet {

    public Pengguin(String name, String variety, int weight) {
        super(name, variety, weight);
    }
    public void print(){
        super.print();
        System.out.println(super.getName()+"会游泳！");
    }
}
